package bai.publicwelfare_backend.service.activity;

import bai.publicwelfare_backend.pojo.dto.activity.CharityEventDTO;
import bai.publicwelfare_backend.pojo.dto.activity.EventParticipantDTO;
import bai.publicwelfare_backend.pojo.dto.user.BadgeUser;
import bai.publicwelfare_backend.pojo.dto.user.RegisterDTO;
import bai.publicwelfare_backend.pojo.entity.activity.CharityEvent;
import bai.publicwelfare_backend.pojo.entity.activity.UserBadge;
import com.github.pagehelper.PageInfo;
import jakarta.servlet.http.HttpServletRequest;
import lombok.extern.java.Log;

import java.util.List;

public interface ActivityServiceI {
    // 注册
    void release(CharityEventDTO charityEventDTO, HttpServletRequest request);
    void attend(EventParticipantDTO dto, HttpServletRequest request);
    PageInfo<CharityEvent> obtain(int pageNum, int pageSize);
    boolean RedeemBadge(BadgeUser badgeUser);
    List<UserBadge> QueryBadge(Long id);
}
